package team.first.moviedb.entity;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
  * @Author:        HAPPY
  * @Project_name:  project
  * @Package_name:  team.first.moviedb.entity
  * @Date:          2021/10/8 11:22
  */
public class TypeWithMovie implements Serializable {
    private Integer id;

    private Integer movieId;

    private Integer typeId;

    private static final long serialVersionUID = 1L;

    public TypeWithMovie(Integer id, Integer movieId, Integer typeId) {
        this.id = id;
        this.movieId = movieId;
        this.typeId = typeId;
    }

    public Integer getId() {
        return id;
    }

    public TypeWithMovie setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getMovieId() {
        return movieId;
    }

    public TypeWithMovie setMovieId(Integer movieId) {
        this.movieId = movieId;
        return this;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public TypeWithMovie setTypeId(Integer typeId) {
        this.typeId = typeId;
        return this;
    }
}